package papacharly.encheres.dao;

import java.util.ArrayList;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import papacharly.encheres.model.Enchere;
import papacharly.encheres.model.User;

public class EnchereService extends GenericService<User> {

    private static EnchereService instance = null;

    /**
     * Retourne l'instance du service
     * @return l'instance du service
     */
    public synchronized static EnchereService getInstance() {
        if (instance == null) {
            instance = new EnchereService();
        }
        return instance;
    }
}
